﻿using AutoMapper;
using PowerHub.MES.DTO.ProcessRoute.DTO;
using PowerHub.MES.DTO.ProductPlanning.DTO;
using PowerHub.MES.Entities.ProcessRoute;
using PowerHub.MES.Entities.ProductPlanning;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.DTO.ProductPlanning
{
    public class ProductPlanningMappingProfile : Profile
    {
        public ProductPlanningMappingProfile()
        {
            CreateMap<ProductPlanning_ProductClassifyDTO, ProductPlanning_ProductClassify>();
            CreateMap<ProductPlanning_MaterialDTO, ProductPlanning_Material>();
            CreateMap<ProductPlanning_ProductBillDTO, ProductPlanning_ProductBill>();
            CreateMap<ProductPlanning_ProductBill, ProductPlanning_ProductBillDTOS>();
            CreateMap<ProductPlanning_ProductBillDetialDTO, ProductPlanning_ProductBillDetial>();
        }
    }
}
